fold method on drupal, various mappings