added default to variables to allow override