more complicated tableview example using custom class