add two new functions