change sinc to module
use module_function