Rounded ranks and added exporting
Bug fix