few stylistic things
style and half of sorting