No longer has nullpointerexception