Added comments for each methods for detail definition