implemented preview sequence parsing