Receiver generalization for mini

compiled, need to be tested!