reduce html calls