Added crude save function