use key for class, not value