Savefunction is working, although not added to lists since that part isn't finished.