all works except the output values