add some util functions
add some more util functions