This is intended to be really poorly written code for purposes of education.