adding index and show json