adding ES dependency