Mostly working map with necessary validation