lecture 2 (with awful style)