Created two new functions.