added entitiy rel modeling