Getting table working right