changes for new elem interface