added logic for viewers, and likes