method duplicate error