HW4 preliminaries