adding changes for timer and stats