instance instead of subclassing for qthread