Trying a different approach to proc switching