yet another format error. Imminent python port...