some basic functionality of view controller with tables