This is still importing GPL code from cogent, so I think needs to be replaced