add some basic utils