function registry modified