worked a bit further to understand storing and retreiving data, and applying that to this.