change tableview population to lambdas
no idea why it didn't work when I tried it last time for hours.