modified mod argument, added default mod