moved the pasrer to a diffrent thread and class