add new online/offline  handling