add has handler