bruteforce ts
first pasrt of the bestof-function
added process best
added process best. removed noise