modify temp value to 6