Oops. I messed up when modifying a variable... should work now...