starting to work on sorting