Updated WP sample