renew function

renew the two function which was pushed yesterday