added possibility to add weights to fingerprints