cross output matches input