updated examples 7 & 8