added other way to simulate table