initial integration with the asio code