parses markers