stage2 for ssmd_auob tutorial