Adding turn functions.