Another way of inject