add some utility method