Refactored global functions; live_effects does not accept non-numbers