update to tutorial version 4