updated alternate interpreter to obtain the last char in the array through a different method