adds threading to kegg