make elem's typeID public