map implementation (ugly)
README