trying to get tables working