I solved this problem and all I got was this stupid StackOverflow reputation