added turn counter