some utils used by other projects