make call to a function not a ref to an attr