edit addClass and create