comments added for methods