altered purchase table to allow instantiation with null, added new status