add features of di and view