refactored the curators curate functionality in respect to locks