passing through square brackets