add getter method