added default for param count