Added more comments

Added detailed comments