adjusting of the blue plain
changes so that the oldmhmax could stil be used
deleted print out