I'm not sure returning null here is a good idea. Might cause something to blow up higher in the call stack, and debugging headaches later on.