removed the testing code; saving and getting now confirmed to work
updated the saving method to be better than before