adding HTML functions