added: printing to the terminal