add doctrine for later persisting data