Worked with doctrine 2