reversed unassigned order, made registration prettier, fixes #3