use .last to get the last characters in a string rather than array notation