cleaner code to the svg with IDs instead of depend attr