improves turn object function