change algorithm for timer
change fruits, now there are 3 types