refactored favcount
added method "render"