Distinguish start and end markers