Added a source hash mechanism