#68 used dot operator to call methods instead of bracket notation