added tables

table functionality