offline state works