Slight rewrite of random zc selection