Added comments

Added detailed comments