tweaks to support rods of any dimension