actually you just need to replace it with EncounterService#check....