initialize directory