Functioning two programs and thread reading.