modify temp value to 4