setting up a generic table