checked functionality of change_f and change_rec_devs