moved format into maven