add other ways of creating a thread