enhance the function for cscope