changed methodes to more thread base working