set method to get