rename all inputs
add:class function save