Looking into threading. Trying for better speed.