add dynamic classes