Thanks!

BTW, we should probably make a new variable (`elementTypeRef`?) to make this code less confusing.