removed most set<parameter>() functions. All parameters are now set