added pagination and votes_count