Adding functionality for turning