lock is simplified again