added table view and removed logic from item