backward compatibility with synthetic data in main.m