flattener 1&2