pivot method works!