complete base directive working