Use at() method instead of [] method