added some references and tweaks