replacing ids with classes