Sure this thing should return an int and not a string? A formatter sounds like something that should return a string.