removing turn funtion