Correct grammar and function i/o