function for mark DC and DRs point