added main, listener thread