2 hours of debugging to find a return null;

I only put it there because eclipse was complaining when I was writing
the method :/