Used temp.value, because I didn't notice that it was different.