added patched rply