maps sorted, validation, string cleaning and some more