added Format class