Split and implement wordindex