Added (and used) variables for bgs