generic module for koji, rewrite