passed mongo reference