stubbing in most of the main file; just stubs