add some small utils