Interacting nanoparticles with functional surface groups