added entries model and relationship