removed functions from testing hook.