Appropriate variable name for offline sessions and removed unwanted commented code.