figured out the NPE