add offline mode for when we don't have a net connection