dir must be comlicated