Why 'if s'? Shouldn't format_output() already return a str() ?  If so shouldn't we print it out?