QC adds functions to DOM