add some simple utils