updated the wrapper for HTML