pass function as reference to lambda directly