replaced the collection view with tableview,