make refresh an int