added stdout printing for integers