better way to find out home directory