add format(long) method