added elt function