downcasing can raise yet another error so removed it