added dir layer