use dependecies, fixed #issue62
Merge pull request #64 from fengmk2/issue62-description

use dependecies, fixed #issue62