working on globalFactor()...