turn function added