Introduced Threading solution