chain; and flatten revisited