changed (fs, es) to (es, fs) in printing block