add functions using Data.Char