added a case for no players registered