revise privacy of methods
run debug phase in context manager