removed testlines, added Threading