made functions for turning