Add comments for funtions