better differentiation in main, debug flag