*implemented saving and loading into code