online and offline 100% working