mod param() method to handle multiple keys