class Lock and Storage