Ensured code was running well and commented code