added stat counter to resume