added output for redirection