created ElementView class