created additional files to simultaneously set to pending status while saving all the information in the database