began cleaning code