adding documentations for methods.