Mechanism for data storage