add algorithm return_type_getter