add some conveniently functions