shared reset and reference check program