added hi/bye support