coded and commented