Working examples 6 & 8