added save function
merged
dzi format