detect marker