pivot operation added