more testing, some issues with multi threading