started map-based sequential implementation