contract in writing under seal