expand flock initialization