- Solving the threading problem