make use of DBSCAN algorithm and do sample run