improve hide func

and add readme