util for common use