most popular entities function added via database & code