screwed some code