added printing to console for `escape`