more optimized and waiting in eval rather than in repository.getbyid method