adding more util functions