It is now outputting into index