result will be printed to the terminal