Fixed error by importing Data.Char to support use of toUpper