day 4 commit, error handling