Cleaning up middle part