function processVote(Poll storage _poll, uint8 _as, bool _vote)
    internal
  {
    
    
    assert(block.timestamp >= _poll.start);

    require( 
             
             !_poll.voted[_as] &&
             
             
             
             (block.timestamp < _poll.start.add(_poll.duration)) );

    
    
    _poll.voted[_as] = true;
    if (_vote)
    {
      _poll.yesVotes = _poll.yesVotes.add(1);
    }
    else
    {
      _poll.noVotes = _poll.noVotes.add(1);
    }
  }