add lookup wrapper functions for maps

TODO: tests