I'd prefer that. It makes the functions better testable