Added turn time variable to master code