add EntryView class (better separation)