fixed code so you can re-order routines through sections