table view almost working