online/offline mode first steps...