sorting things back out