added some utility to this class