begin writing stubs