Implement offline mode