map and set display now seems to work, need to check it though
preparing to impl loop/fn