formatting changes

updated control variables