Added different thread types