make paramters controlled by options