changed to proper output