really awful saving and loading implemented