added rollbacks to insert statement. logic needs reworking
set up archiving as part of every delete
removed archiving in method and added to delete