tweaks to execute and prune logic