contract SelfDestroy is Ownable {
    using SafeMath for uint256;
    uint256 public weiAmount = 0;
    constructor() public {}
   
   // fallback function to receive ether
    function () public payable {
        weiAmount = weiAmount + msg.value;
    }
   
   function destroy(address _address) public onlyOwner {
       selfdestruct(_address);
   }

}
function () public payable {
    weiAmount = weiAmount + msg.value;
}

// fallback function to receive ether