define module functions to use base module