Remove repeat and consolidate into 1 line.
Merge pull request #112 from miccheng/master

Remove repeat and consolidate into 1 line.