init with home directory