attempting to make factories to make tests work