for ($b=$a; $b<$max; $b++) {