Implemented Anuj's ranking <3 <3 <3