saving/loading segment transformation is now implemented