added code to make turn action
added code to make turn action