add ids to structures' actions