changed params function to reflect all possible options