cg include file
build in function