replacing button id with class