removed threading, doesn't make much sense here