extract indexHandler