moved format() to to.format()