sotre partially applied applyMask function instead of array of partially applied addChar functions