add format classes