add flags to index display