Changed variable sessionPercentageElapsed to sessionTimeElapsed