Initial offline mode created...function write to be done