add echofunction to note the param of method