ref callbacks pt 1