added turret example code