Another aspect of the present invention comprises a dispenser having one or more cavities, wherein the cavities may be selectively opened and closed such that by controlling the cavity and closing of the cavities, material may be dispensed. The cavities may be arranged in any manner and may comprise the same or different volumes.