add basic map support, its pretty slow right now