added class attribute instead of id attribute