changed function stubs