initial dir framework