Fix #199 - try with multiple resources
Add method tupleFromParameters