add command and receiving var thread