captain edward cooke