work on processes and move threads