add two new function