Better doctrine use explaination