save sets and maps