Added [] operator so it works like an array (only get)