changed hurt method to RPC call