try to never return null; either throw an exception or use guava Optional for this task