added layer directive