stack online/offline the other way and adapt colors