Changed to [[]] notation instead of $.