ActivePattern example additions