Added boilerplate util functions