removed extra outputs