Don't bother with ret - where you assign to it, just return, and return null at the end of the method