adding getter method