slight tweak to the brodkin generator