make setAllElements called first to make shorthand exist