sorting everything out