added notes to describe changes needed to logic of refresh