turning code adjustments

turning code adjustments