get_method method added