add classes for item