added turn light and removed unused code