Refactored some turret stuff