renamed
changed ouput0 to output0
renamed validator to validate