organization and locking