normal function restoration