Added map reader functionality