added new attribute directive