Integrated with db repo