transforming static nature of bill outside templates