now can input map/list correctly