Added: result evaluating and printing