add new function: record last submit result
hw1 ends. update config file
update to hw2