todo updated
remaining checks for consecutive markers added