code structure, regression tests