complete func ref