stubs for sam