Made corrections to print syntax