commented the code up