better use of cached div