added first version of table calculator