methods to get/set params