add utils method closes #3