started to add the dbscan algorithm