import statements and fixed printout for standard in