added demo for doctrine