lecture: lecture 05: add write random point