add map reading