what was improper about Macdonald's agreement with Hugh Allan?