added default to variables