make simple-function on bash