rename obj to params