move 'name' to beginning