Simplify sack code