seems weird to me to return the element also doesn't seem to be used