now the dmax variables are declared in the move section of the xml file because each move uses its own values