added default value for puzzle generator