change cursor so that a basic version of it works, note that order does not work on it, so if cursor results need to be ordered, it is just wrong