Added turn calculation.