add some utility methods