using system write