directory scanning added