used getElementsByClassName