made refresh() readable