removed some unnecessary util functions