converting to sphinx