added streak tracking logic