parseElements must be public