Create stage2.m