Anisotropic fluid spheres of embedding class one using Karmarkar condition