working on fixing the ranking issue