v. 0.4.2 add extract params method as well