refactored some minor things, made reset turns to 3