seperating into stubs