lecture 6_method one