custom arbitrary class, which can be stopped; testing threads