Mitch helped me to use dagger in my code , Thanks