add third party host logic