min-max res added to cal