making set_element public