Using cursor instead of manager.