Created basic saving method, not quite working yet.