Asdded a few more comments and fixed some indentations