Written method for creating stubs