use ElementType consistently