printing the result