mapDS: added lookup global function