add dot & bracket notation