new version 1.1, and add function definition