adding MaxMin component