additional text processing to simplify Hasklets