Merge pull request #1 from feitian124/master

use module and nicer variable name
finish the issue raise by ming