add some function stubs