write lecture4