added voted api