The preparation of primary aliphatic amines from halogenoalkanes is not a good technique. This is because the N in the amine formed still possesses a lone pair of electrons (which can act as a nucleophile in successive reactions, forming secondary and tertiary amines, as well as ammonium salts, which aren’t the desired product).