stubs for sparse