hw3 code + model dumps.