More comments

Added more comments into code