first try at turn functionality