messing around with globals