trying to mimic service method parsing