add feature in function
use feature in function