copy stuff from nips