better reference; check element defs