add some useful api