cps633 lecture 12