added end turn functionality