trying to implement data saving onto external storage (in progress)