Define local dist