implemented print-eval for debugging