No need for output parameter, can use redirection instead