added other ways to instantiate table cells