Changed IN,OUT to read,print