used square bracket notation to send a message to an object