first attempt at infinite map