lecture: lecture 05: finish function hop