added offline mode for now