Deleted old flatten