in class code and slides