finished map parsing, probably works