document square brackets