Added thread to show basic operation