factor flattener out