cleaning up code - removing code regions