c: package simplification