setup for doctrine