added popularity checker class