replace classList with classes