it's probably better to move this logic into the Claims model