add format params for repr function