took out dmax value - looks ridiculous