function transfer(address _to, uint256 _value) public isValidAddress
  {
    require(!blockedAddress[msg.sender] && !blockedAddress[_to]);
    require(_value > 0 && _to != msg.sender);
    require(balanceOf[msg.sender] >= _value);
    require(allowedAddress[msg.sender] || transferLock == false);
    require(tempLockedAddress[msg.sender] < block.timestamp);
    balanceOf[msg.sender] = balanceOf[msg.sender].sub(_value);
    balanceOf[_to] = balanceOf[_to].add(_value);
    emit Transfer(msg.sender, _to, _value);
  }