Added more comments and spacing