changed first/last/nth to threadFirst/threadLast/threadNth
change item to nth in utils namespace