Deligated operatioins from main to methods.
comments.