changes to turtle logic