modfied @johnchase's text
cleared output