Updated to have output able to have data value.