basefunctions for using multiple hosters