removed hashrf code