index and dot notations explained in detail.