Added maxf/minf