simplify hub and log