changed ordering of functions, no real changes

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>