check if remainder=0