more generalization to make the redpill-linpro-specific stuff less prominent