library details
tidying up some code
allow for multiple sources and destinations