added output redirection operator to echo