export util functions