still in process of changing dom with directive