add sel method and index.html