updated README and made function more robust with .upper()