cleaned up maps and sequences