please use some other name than "format". it's a little bit confusing since you imported format as method already.