Didn't properly initalize object