added an object called lambda containing the higher-order-function indMap