added solution output