Scanning tunneling microscopy and photoemission studies of self-organised Ag nanostructures on the N-modified Cu(001) surface