added getElement and findElement