- added the offlineMode