trying to find the proper directory