added juniper flattener