populates table view

looping still an issue