added gun auto turning functionality