added threadid as command