Change the rare function