functions for resolve and ping master_host checking were added