modify some model functions to pass the test:process some inputs