flattener is working