is this how stubs work?