refactored code to use Turn objects more