コメント追加と変数名の改正

add some comment and change some variable names(to let them more
meaningful)