add doctrine requirement