cleaning up code
added reference name
CoL sources are now passed through correctly