add html and handles