finished build up  index