add an if statement for params