added weight to the save, and a test button to test other functionality