Fixed bug in extract function. In case two or more variables have been declared in this way: "int x, y;" and both are necessary as parameters, y got missed. This no longer happens.