addition w/ global vars