rpry snippet