add class for field