wa16, I changed res from int to long, and time is over