I would move this closer to where id is defined