this is a good threaa, dirty hapy. in the future, you may want to make separate threads for each. keep up the good work.