switched position of new thread