lecture: lecture 05: finish function pairs