use funcrefs