write to system