better escaping
add class exists
conditionally create new class