started testing some with thread handling