modify temp value to 7