Currently it prints the output on terminal