trying to get table populate to work