Changed name of global function to match convention.