turn devices as a parameter
update expected result
not needed anymore
allow to configure threads count
variable renaming