getting everything in order