added direct evaluation of lambda functions