Added an optional print statement