Lec 7: remove trailing white space