added missing attributes to factory