code refactorting & inspections. Clean Up. final commit (w/o comments)