updated some error println statements