rename class for input, output, and val