the chain is numbered in the direction that gives the highest priority functional group the lowest possible number .