begin coding method share
add a littre security.