some syntax, factored out hiding svg