add some common tools