Refactored medipack collecting