Modified the design of the markers and the threshold