refactory packaging