added leave for e
corrected syntax
added leave for w
rephrased various output strings