use class instead of id