adding custom directive