added HubOptions, more explicit constructor