adding adagrad