Added internal rankings, bug fixes.