First implementation of table