add offline/online and storage