before adding two new functions