some utility methods