[9] move common method to common class; clean up; add any output;