lots of progress sorting and stuff