implemented Format_* virtual functions in each class