> I'm not super sure why I need to add the square brackets on add.

`[]` is the dereferencing sign, similiar to `*` in C.

Reply via email to