acquire lock when retrieving data, add copyright header