Created a thread and information gets sent by a handler