register basic function
register basic function