adding global constants and utilities