week1: try moving lambda to top again