grabbing class instead of variable id