event table view and detail views working