rename pack structure to be bin for clarity