reordering local to be last