changed saving to gson