add some functions in the sparse.go