Computing Gadgets from WP