added some comments for methods