fixed dumb mistake and removed console logs