simplify by logging to standard output/error