adding caption_element and field_element methods