failed attempt at ordering + lucky that its working