Wow, hello NPE just staring me in the face